<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <title>雅瑞中台系统</title>
  <base href="/midware/" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <meta http-equiv="x-ua-compatible" content="ie=edge" />
  <link rel="icon" type="image/x-icon" href="favicon.ico" />
  <link rel="stylesheet" href="//at.alicdn.com/t/font_1438215_n7nfwremj2.css">

  <!-- Apple Touch Icon -->
  <!-- <link rel="apple-touch-icon" href="custom-icon.png"> -->
  <style>
    .preload-home {
      background-color: #303133;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 9999;
      transition: opacity .65s;
    }

    .preload-home__main {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%
    }

    .preload__loading {
      height: 32px;
      width: 32px;
      margin-bottom: 20px;
    }

    .preload__title {
      color: #FFF;
      font-size: 14px;
      margin-bottom: 10px;
    }

    .preload__sub-title {
      color: #ABABAB;
      font-size: 12px;
    }

    .cs-loader-inner {
      top: 50%;
      position: absolute;
      width: 100%;
      color: #fff;
      text-align: center
    }


    .mx-68c-guide-cover {
      position: fixed;
      top: 0;

      width: 100%;
      height: 100%;
      background: rgba(13, 10, 49, .9);
      z-index: 999999999;
    }

    .mx-68c-guide-cover div {
      position: absolute;
      display: none;
    }

    .mx-68c-guide-cover span {
      display: inline-block;
      position: absolute;
      z-index: 2;
      cursor: pointer;
    }

  </style>
</head>

<body theme-name="ms" theme-version="8.2.0" theme-name="ms" theme-version="8.1.0" theme-name="ms" theme-version="7.1.0"
  theme-name="ms" theme-version="7.1.0" theme-name="ms" theme-version="7.1.0" theme-name="ms" theme-version="7.1.0"
  theme-name="ms" theme-version="7.1.0" theme-name="ms" theme-version="7.0.0" theme-name="ms" theme-version="7.0.0"
  theme-name="ms" theme-version="0.0.1" theme-name="ms" theme-version="0.0.1" theme-name="ms" theme-version="0.0.1"
  theme-name="ms" theme-version="0.0.1">
  <app-root></app-root>

  <div id="j-preloader" class="preload-home">
    <div class="preload-home__main">
      <div class="cs-loader-inner">
        <img class="preload__loading" src="./assets/svg/loading-spin.svg" alt="loading">
        <div class="preload__title">
          正在加载资源
        </div>
        <div class="preload__sub-title">
          初次加载资源可能需要较多时间 请耐心等待
        </div>
      </div>
    </div>
  </div>

  <div style="display: none;" data-username="" class="mx-68c-guide-cover" id="J_guide_wrapper">
    <div id='step1' style="top: 30px;  display: block;"><img style="width: 50%" src="./assets/img/gurde.png">
      <span onclick="next()"
        style="width:93px;height:25px;top: 234px;left: 90px;text-align: center;color: white;border: 1px solid white;line-height: 32px;height: 32px;">
        下一步
      </span>
    </div>

    <div id='step2' style="display: none;top: -55px;right: -85px;text-align: right;width: 600px;">
      <img style="width: 100%" src="./assets/img/step2.png">
      <span onclick="ok()"
        style="width:93px;height:25px;top: 272px;left: 260px;text-align: center;color: white;border: 1px solid white;line-height: 32px;height: 32px;">
        知道了
      </span>
    </div>
  </div>
  <script>
    function ok() {
      document.querySelector('#J_guide_wrapper').style.display = 'none';
      var username = document.querySelector('#J_guide_wrapper').getAttribute('data-username');
      window.localStorage.setItem(username + '_iknowed', '1');
    }

    function next() {
      document.querySelector('#J_guide_wrapper').style.top = '50px';
      document.querySelector('#J_guide_wrapper').style.left = '0px'
      document.querySelector('#step1').style.display = 'none';
      document.querySelector('#step2').style.display = 'block';
    }

    // setInterval(() => {
    //   eval('debugger')
    // }, 100)

  </script>
</body>

</html>
